<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<div id="app">
			<my-component message="[1,2,3]"></my-component>
			<my-component :message="[1,2,3]"></my-component>
		</div>
		<script src="js/vue2.5.js"></script>
		<script>
			var vm = new Vue({
				el:'#app',
				data:{
					
				},
				components:{
					'my-component':{
						props:['message'],
						template:'<div>{{message.length}}</div>'
					}
				}
			})
		</script>
	</body>
</html>
